package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallBrand;
import com.ctsi.ssdc.domain.LitemallBrandExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallBrandRepository extends BaseRepository<LitemallBrand, Integer, LitemallBrandExample> {
    @Override
    long countByExample(LitemallBrandExample example);

    @Override
    int deleteByExample(LitemallBrandExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallBrand record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallBrand record);

    @Override
    List<LitemallBrand> selectByExample(LitemallBrandExample example);

    @Override
    LitemallBrand selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);

    @Override
    int updateByExample(@Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallBrand record);

    @Override
    int updateByPrimaryKey(LitemallBrand record);

    List<LitemallBrand> selectByExampleSelective(LitemallBrandExample example, LitemallBrand.Column[] columns);
}